
<!-- saved from url=(0045)http://malsup.github.com/jquery.cycle.lite.js -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/*!
 * jQuery Cycle Lite Plugin
 * http://malsup.com/jquery/cycle/lite/
 * Copyright (c) 2008-2011 M. Alsup
 * Version: 1.3.1 (07-OCT-2011)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 * Requires: jQuery v1.3.2 or later
 */
;(function($) {

var ver = 'Lite-1.3';

$.fn.cycle = function(options) {
    return this.each(function() {
        options = options || {};
        
        if (this.cycleTimeout) clearTimeout(this.cycleTimeout);
        this.cycleTimeout = 0;
        this.cyclePause = 0;
        
        var $cont = $(this);
        var $slides = options.slideExpr ? $(options.slideExpr, this) : $cont.children();
        var els = $slides.get();
        if (els.length &lt; 2) {
            window.console &amp;&amp; console.log('terminating; too few slides: ' + els.length);
            return; // don't bother
        }

        // support metadata plugin (v1.0 and v2.0)
        var opts = $.extend({}, $.fn.cycle.defaults, options || {}, $.metadata ? $cont.metadata() : $.meta ? $cont.data() : {});
		var meta = $.isFunction($cont.data) ? $cont.data(opts.metaAttr) : null;
		if (meta)
			opts = $.extend(opts, meta);
            
        opts.before = opts.before ? [opts.before] : [];
        opts.after = opts.after ? [opts.after] : [];
        opts.after.unshift(function(){ opts.busy=0; });
            
        // allow shorthand overrides of width, height and timeout
        var cls = this.className;
        opts.width = parseInt((cls.match(/w:(\d+)/)||[])[1]) || opts.width;
        opts.height = parseInt((cls.match(/h:(\d+)/)||[])[1]) || opts.height;
        opts.timeout = parseInt((cls.match(/t:(\d+)/)||[])[1]) || opts.timeout;

        if ($cont.css('position') == 'static') 
            $cont.css('position', 'relative');
        if (opts.width) 
            $cont.width(opts.width);
        if (opts.height &amp;&amp; opts.height != 'auto') 
            $cont.height(opts.height);

        var first = 0;
        $slides.css({position: 'absolute', top:0, left:0}).each(function(i) { 
            $(this).css('z-index', els.length-i) 
        });
        
        $(els[first]).css('opacity',1).show(); // opacity bit needed to handle reinit case
        if ($.browser.msie) els[first].style.removeAttribute('filter');

        if (opts.fit &amp;&amp; opts.width) 
            $slides.width(opts.width);
        if (opts.fit &amp;&amp; opts.height &amp;&amp; opts.height != 'auto') 
            $slides.height(opts.height);
        if (opts.pause) 
            $cont.hover(function(){this.cyclePause=1;}, function(){this.cyclePause=0;});

        var txFn = $.fn.cycle.transitions[opts.fx];
		txFn &amp;&amp; txFn($cont, $slides, opts);
        
        $slides.each(function() {
            var $el = $(this);
            this.cycleH = (opts.fit &amp;&amp; opts.height) ? opts.height : $el.height();
            this.cycleW = (opts.fit &amp;&amp; opts.width) ? opts.width : $el.width();
        });

        if (opts.cssFirst)
            $($slides[first]).css(opts.cssFirst);

        if (opts.timeout) {
            // ensure that timeout and speed settings are sane
            if (opts.speed.constructor == String)
                opts.speed = {slow: 600, fast: 200}[opts.speed] || 400;
            if (!opts.sync)
                opts.speed = opts.speed / 2;
            while((opts.timeout - opts.speed) &lt; 250)
                opts.timeout += opts.speed;
        }
        opts.speedIn = opts.speed;
        opts.speedOut = opts.speed;

 		opts.slideCount = els.length;
        opts.currSlide = first;
        opts.nextSlide = 1;

        // fire artificial events
        var e0 = $slides[first];
        if (opts.before.length)
            opts.before[0].apply(e0, [e0, e0, opts, true]);
        if (opts.after.length &gt; 1)
            opts.after[1].apply(e0, [e0, e0, opts, true]);
        
        if (opts.click &amp;&amp; !opts.next)
            opts.next = opts.click;
        if (opts.next)
            $(opts.next).bind('click', function(){return advance(els,opts,opts.rev?-1:1)});
        if (opts.prev)
            $(opts.prev).bind('click', function(){return advance(els,opts,opts.rev?1:-1)});

        if (opts.timeout)
            this.cycleTimeout = setTimeout(function() {
                go(els,opts,0,!opts.rev)
            }, opts.timeout + (opts.delay||0));
    });
};

function go(els, opts, manual, fwd) {
    if (opts.busy) return;
    var p = els[0].parentNode, curr = els[opts.currSlide], next = els[opts.nextSlide];
    if (p.cycleTimeout === 0 &amp;&amp; !manual) 
        return;

    if (manual || !p.cyclePause) {
        if (opts.before.length)
            $.each(opts.before, function(i,o) { o.apply(next, [curr, next, opts, fwd]); });
        var after = function() {
            if ($.browser.msie)
                this.style.removeAttribute('filter');
            $.each(opts.after, function(i,o) { o.apply(next, [curr, next, opts, fwd]); });
            queueNext();
        };

        if (opts.nextSlide != opts.currSlide) {
            opts.busy = 1;
            $.fn.cycle.custom(curr, next, opts, after);
        }
        var roll = (opts.nextSlide + 1) == els.length;
        opts.nextSlide = roll ? 0 : opts.nextSlide+1;
        opts.currSlide = roll ? els.length-1 : opts.nextSlide-1;
    }
    
    function queueNext() {
        if (opts.timeout)
            p.cycleTimeout = setTimeout(function() { go(els,opts,0,!opts.rev) }, opts.timeout);
    }
};

// advance slide forward or back
function advance(els, opts, val) {
    var p = els[0].parentNode, timeout = p.cycleTimeout;
    if (timeout) {
        clearTimeout(timeout);
        p.cycleTimeout = 0;
    }
    opts.nextSlide = opts.currSlide + val;
    if (opts.nextSlide &lt; 0) {
        opts.nextSlide = els.length - 1;
    }
    else if (opts.nextSlide &gt;= els.length) {
        opts.nextSlide = 0;
    }
    go(els, opts, 1, val&gt;=0);
    return false;
};

$.fn.cycle.custom = function(curr, next, opts, cb) {
    var $l = $(curr), $n = $(next);
    $n.css(opts.cssBefore);
    var fn = function() {$n.animate(opts.animIn, opts.speedIn, opts.easeIn, cb)};
    $l.animate(opts.animOut, opts.speedOut, opts.easeOut, function() {
        $l.css(opts.cssAfter);
        if (!opts.sync) fn();
    });
    if (opts.sync) fn();
};

$.fn.cycle.transitions = {
    fade: function($cont, $slides, opts) {
		$slides.not(':eq(0)').hide();
		opts.cssBefore = { opacity: 0, display: 'block' };
		opts.cssAfter  = { display: 'none' };
		opts.animOut = { opacity: 0 };
		opts.animIn = { opacity: 1 };
    },
    fadeout: function($cont, $slides, opts) {
		opts.before.push(function(curr,next,opts,fwd) {
			$(curr).css('zIndex',opts.slideCount + (fwd === true ? 1 : 0));
			$(next).css('zIndex',opts.slideCount + (fwd === true ? 0 : 1));
		});
		$slides.not(':eq(0)').hide();
		opts.cssBefore = { opacity: 1, display: 'block', zIndex: 1 };
		opts.cssAfter  = { display: 'none', zIndex: 0 };
		opts.animOut = { opacity: 0 };
    }
};

$.fn.cycle.ver = function() { return ver; };

// @see: http://malsup.com/jquery/cycle/lite/
$.fn.cycle.defaults = {
	animIn:        {},
	animOut:       {},
	fx:           'fade',
    after:         null, 
    before:        null, 
	cssBefore:     {},
	cssAfter:      {},
    delay:         0,    
    fit:           0,    
    height:       'auto',
	metaAttr:     'cycle',
    next:          null, 
    pause:         0,    
    prev:          null, 
    speed:         1000, 
    slideExpr:     null,
    sync:          1,    
    timeout:       4000 
};

})(jQuery);
</pre><div class="sogoutip" style="z-index: 2147483645; visibility: hidden; display: none; "></div><div class="sogoubottom"></div><div id="ext_stophi" style="z-index: 2147483647; "><div class="extnoticebg"></div><div class="extnotice"><h2>&#20851;&#38381;&#25552;&#31034; <a href="http://malsup.github.com/jquery.cycle.lite.js#" title="&#20851;&#38381;&#25552;&#31034;" id="closenotice" class="closenotice">&#20851;&#38381;</a></h2><p id="sogouconfirmtxt"></p>  <a id="sogouconfirm" href="http://malsup.github.com/jquery.cycle.lite.js#" class="extconfirm">&#30830; &#35748;</a> <a id="sogoucancel" href="http://malsup.github.com/jquery.cycle.lite.js#" class="extconfirm">&#21462; &#28040;</a></div></div><div id="ext_overlay" style="display: none; z-index: 2147483646; " class="ext_overlayBG"></div><iframe class="sogou_sugg_feedbackquan" style="background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; z-index: 2147483645; display: none; background-position: initial initial; background-repeat: initial initial; " frameborder="0" scrolling="no" src="./jquery.cycle.lite_files/yun1.htm"></iframe><script src="./jquery.cycle.lite_files/pv.gif"></script></body><style>.sogou_sugg_feedbackquan {
	position:fixed;
	left:0;
	padding:0;
	margin:0;
	bottom:0;
	width: 100%;
	height: 38px;
}
.sogoutip {
	width:199px;
	height:56px;
	padding:10px 20px 0 15px;
	line-height:18px;
	background:url(http://ht.www.sogou.com/images/extsugg/sogoutip.gif) no-repeat;
	position:fixed;
	font-size:13px;
	bottom:38px;
	left:150px;
	text-align:left;
	color:#000;
}
a.closesogoutip,a.closesogoutip:link,a.closesogoutip:visited,a.closesogoutip:active,a.closesogoutip:hover {
	width:9px;
	height:8px;
	background:url(http://ht.www.sogou.com/images/extsugg/sogoutip.gif) no-repeat left -72px;
	line-height:10em;
	overflow:hidden;
	right:8px;
	top:7px;
	position:absolute;
}
.sogoubottom{
	clear:both;
	height:40px;
	width:100%;
	padding:0;
	margin:0;
	position:relative;
	z-index:-99;
}
.extoptboxbg {
	background:url(http://ht.www.sogou.com/images/extsugg/optbox.png) no-repeat;
	width:144px;
	height:109px;
	position:fixed;
	right:16px;
	bottom:35px;
}
.extoptbox {
	width:127px;
	height:75px;
	position:fixed;
	right:25px;
	bottom:57px;
	line-height:22px;
	font-size:12px;
}
.extoptbox a,.extoptbox a:hover {
	color:#426BBD;
	display:block;
	padding-left:9px;
	text-decoration:none;
	text-align:left;
}
.extoptbox a:hover {
	background-color:#EAF1F5;
}
.extfeedback {
	border-top:1px solid #ccc;
	margin-top:4px;
	padding-top:4px;
}
.extnoticebg {
	margin:0;
	left:0;
	top:0;
	width:418px;
	height:185px;
	background:url(http://ht.www.sogou.com/images/extsugg/noticebg.png) no-repeat;
	position:absolute;
}
.extnotice {
	width:402px;
	height:169px;
	position:absolute;
	left:8px;
	top:8px;
	font-size:14px;
	text-align:center;
	color:#000;
}
.extnotice h2 {
	line-height:29px;
	padding:0 9px;
	font-size:13px;
	text-align:left;
	color:#000;
}
.extnotice p {
	margin:28px 0 33px;
	color:#000;
}
.extconfirm, .extconfirm:hover {
	width:63px;
	height:23px;
	line-height:23px;
	display:inline-block;
	font-weight:bold;
	color:#515F68;
	margin:0 20px;
	background:#D7E5ED;
	filter:progid:DXImageTransform.Microsoft.gradient(startcolorstr=#ECF2F6,endcolorstr=#D7E5ED,gradientType=0);
	background:-webkit-gradient(linear, left top, left bottom, from(#ECF2F6), to(#D7E5ED));
	text-decoration:none;
	border:1px solid #89B4E1;
}
.closenotice {
	width:14px;
	height:14px;
	background:#fff url(http://ht.www.sogou.com/images/extsugg/ui2.1.gif) no-repeat 2px -313px;
	border:1px solid #B1CBE8;
	position:absolute;
	right:7px;
	top:7px;
	overflow:hidden;
	line-height:100em;
}
.closenotice:hover {
	background-position: 2px -338px;
}
#ext_overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.ext_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
.ext_overlayBG {
	background-color:#000;
	filter:alpha(opacity=25);
	-moz-opacity: 0.25;
	opacity: 0.25;
}

* html #ext_overlay { /* ie6 hack */
	position: absolute;
	height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#ext_HideSelect{
	z-index:99;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #ext_HideSelect { /* ie6 hack */
	position: absolute;
	height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#ext_stophi {
	position: fixed;
	z-index: 102;
	display:none;
	top:50%;
	left:50%;
	width:418px;
	height:185px;
}

* html #ext_stophi { /* ie6 hack */
	position: absolute;
	margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}
</style></html>